#include"../Include/WebPageSearcher.h"
#include"../Include/SplitTool.h"
#include"../log/Logger.hpp"
#include"../Include/WebPageSearcher.h"
Logger* Logger::_pInstance = nullptr;
int main()
{
    
    SplitToolCppJieba jieba(Configuration::getInstance());
    WebPageSearcher search("坚决执行");
    vector<string> answer;
    search.doQuery(jieba,string("tcp://127.0.0.1:6379"),answer);
    
    // SplitToolCppJieba jieba;
    // vector<string>answer;
    // searchss.doQuery(jieba,string("tcp://127.0.0.1:6379"),answer);
    for(string a:answer)
    {
        cout<<a<<endl;
    }
}